package com.liulei.entities;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 送水历史管理实体类
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_history")
public class History {
    //送水历史ID
    private Integer hid;
    //关联送水工
    private Worker worker;
    //关联客户
    private Customer customer;
    //送水时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date sendWaterTime;
    //送水数量
    private Integer sendWaterCount;

}
